require 'sinatra/base'

# Namespaces Pyro::REST.
module Pyro
  # Namespaces Pyro::REST::API.
  module REST
    # Public: Sinatra routes for handling RESTful API calls.
    #
    # * Reference: http://jsonapi.org
    #
    # Example
    #
    #   use REST::API
    class API < Sinatra::Application
      get '/sample/?' do
        'Sample route was here.'
      end
    end
  end
end